package com.cjx.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * AdminMenuDTO:  数据对象
 *
 * @author : cjunxian
 * @since 2021-03-09
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AdminMenuDTO", description="菜单数据对象")
public class AdminMenuDTO implements Serializable {

    /**
     * 序列化版本 UID.
     */
    private static final long serialVersionUID=1L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String menuName;
    /**
     * 上级id
     */
    @ApiModelProperty(value = "上级id")
    private String parentId;
    /**
     * 操作人id
     */
    @ApiModelProperty(value = "操作人id")
    private String operatorId;
    /**
     * 是否隐藏 0否 1是
     */
    @ApiModelProperty(value = "是否隐藏 0否 1是", example = "0")
    private Integer hidden;


}
